home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 5
/
CD-ROM Today - The Disc (Issue 5)(November 1994).ISO
/
mac
/
DHA demo
/
Don Norman Folder
/
The Library
/
The Library.rsrc
/
CSTR_2134_RegWwnCSTR
< prev
next >
Wrap
Text File
|
1994-09-21
|
570b
|
28 lines
global gWBAMWL
set the itemdelimiter to "■"
if u="" then
if there is a window w then
put "false" into b
repeat with x=1 to number of lines in gWBAMWL
get line x of gWBAMWL
if item 1 of it=w then
put "true" into b
exit repeat
end if
end repeat
if b="false" then
set the itemdelimiter to ","
put w&"■"&m&"■"&(the rect of window w)&return after gWBAMWL
end if
end if
else if u="false" then
repeat with x=1 to number of lines in gWBAMWL
get line x of gWBAMWL
if item 1 of it=w then
delete line x of gWBAMWL
exit repeat
end if
end repeat
end if
set the itemdelimiter to ","